package com.indusfo.spc.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 * @author chenm
 * @create 2019-12-04 10:01
 */
@Component
@ConfigurationProperties(prefix = "pieceflow")
public class PieceFlowConfig {

  /**
   * 上传文件路径
   */
  private static String profile;


  public static String getProfile() {
    return profile;
  }

  public void setProfile(String profile)
  {
    PieceFlowConfig.profile = profile;
  }


}
